package com.project_test.kun.travelling_1st.Discovery.discover_detail_beans;

import android.util.Log;

import org.json.JSONException;
import org.json.JSONObject;

/**
 * Created by asus on 2016/10/17 09 49.
 * 邮箱:763433963@qq.com
 */


/*
*
*
        "id": "20880",
        "uid": "10818",
        "title": "北京一草一木青年整栋 别墅",
        "head_pic": "http://img1.handybest.com/Uploads/Hotel/920/16/06/5751558a0c8b1.jpg!w400",
        "price": "3000",
        "address": "中国 - 北京市 - 密云区 - 穆家峪镇 - 阁老峪村华润希望小镇7-1",
        "scores": "4.00"
*
*
*
*
* */

public class discover_detail_good_bean {
    private String id;
    private String uid;
    private String title;
    private String head_pic;
    private String price;
    private String address;
    private String scores;

    public void parseJson(JSONObject json) throws JSONException {
        if (json != null) {
            id = json.optString("id");
            uid = json.optString("uid");
            title = json.optString("title");
            head_pic = json.optString("head_pic");
            price = json.optString("price");
            address = json.optString("address");
            scores = json.optString("scores");
        }
    }

    public String getId() {
        return id;
    }

    public String getUid() {
        return uid;
    }

    public String getTitle() {
        return title;
    }

    public String getHead_pic() {
        return head_pic;
    }

    public String getPrice() {
        return price;
    }

    public String getAddress() {
        return address;
    }

    public String getScores() {
        return scores;
    }
}
